﻿/// <reference path="../jquery-2.2.3.js" />

function getcodetypebyclassname(typename) {
    var curname = typename.toString().substring(0, 3);
    alert(typename.replace(curname,''));
}


function getQueryString() {

    var result = location.search.match(new RegExp("[\?\&][^\?\&]+=[^\?\&]+", "g"));

    if (result == null) {

        return "";

    }

    for (var i = 0; i < result.length; i++) {

        result[i] = result[i].substring(1);

    }

    return result;

}